package com.mlz.mlzmall.ui.model;

import com.mlz.mlzmall.ui.utils.DataUtils;

/**
 * describe :新建地址
 * Created by yhf on 2016/5/27.
 * PackageName com.mlz.mlzmall.ui.model.
 * ProjectName mlzmall_android.
 */
public class CreateAddress {

    /**
     * fullname : string
     * shippingTelephone : string
     * regionCode : 0
     * address : string
     * postcode : string
     * defaultAddress : true
     */

    private String fullname;
    private String shippingTelephone;
    private int regionCode;
    private String address;
    private String postcode;
    private boolean defaultAddress;

    public String getFullname() {
        return DataUtils.getString(fullname);
    }

    public void setFullname(String fullname) {
        this.fullname = fullname;
    }

    public String getShippingTelephone() {
        return DataUtils.getString(shippingTelephone);
    }

    public void setShippingTelephone(String shippingTelephone) {
        this.shippingTelephone = shippingTelephone;
    }

    public int getRegionCode() {
        return DataUtils.getInt(regionCode);
    }

    public void setRegionCode(int regionCode) {
        this.regionCode = regionCode;
    }

    public String getAddress() {
        return DataUtils.getString(address);
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPostcode() {
        return DataUtils.getString(postcode);
    }

    public void setPostcode(String postcode) {
        this.postcode = postcode;
    }

    public boolean isDefaultAddress() {
        return defaultAddress;
    }

    public void setDefaultAddress(boolean defaultAddress) {
        this.defaultAddress = defaultAddress;
    }
}
